﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FormRemoteModel.TableGroup.Model
{
    public class TableGroupSet
    {
        /// <summary>
        /// 父集ID
        /// </summary>

        public long ParentId { get; set; }
        /// <summary>
        /// 表单组名
        /// </summary>
        [NullValidate("form.group.name.null")]
        [LenValidate("form.group.name.len", 2, 50)]
        public string GroupName { get; set; }

        /// <summary>
        /// 是否隐藏标题
        /// </summary>
        public bool IsHidden { get; set; }
    }
}
